﻿using System;
using System.Linq;
using System.Collections.Generic;

namespace PengSW.Clipboard
{
    public static class ObjectClipboard
    {
        public static bool Contains(Type aType) => _Object?.GetType() == aType;
        public static void SetData(object aObject) => _Object = aObject;
        public static object GetData() => _Object;
        public static void Clear() => _Object = null;

        private static object _Object = null;
    }
}
